// orderinfoFields.js

export  const FormDataType = [
    "number",    // id
    "number",    // customerId
    "string",    // orderNo
    "string",    // startLocation
    "number",    // startPointLongitude
    "number",    // startPointLatitude
    "string",    // endLocation
    "number",    // endPointLongitude
    "number",    // endPointLatitude
    "number",    // expectDistance
    "number",    // realDistance
    "number",    // expectAmount
    "number",    // realAmount
    "number",    // favourFee
    "number",    // driverId
    "dateTime",  // acceptTime
    "dateTime",  // arriveTime
    "dateTime",  // startServiceTime
    "dateTime",  // endServiceTime
    "dateTime",  // payTime
    "number",    // cancelRuleId
    "string",    // carLicense
    "string",    // carType
    "string",    // carFrontUrl
    "string",    // carBackUrl
    "string",    // transactionId
    "number",    // jobId
    "array",    // status
    "string",    // remark
    "dateTime",  // createTime
    "dateTime",  // updateTime
    "boolean",   // isDeleted
  ];
  
export  const FormData = {
    id: null, // 主键
    customerId: null, // 客户ID
    orderNo: "", // 订单号
    startLocation: "", // 起始地点
    startPointLongitude: null, // 起始地点经度
    startPointLatitude: null, // 起始点纬度
    endLocation: "", // 结束地点
    endPointLongitude: null, // 结束地点经度
    endPointLatitude: null, // 结束地点纬度
    expectDistance: null, // 预估里程
    realDistance: null, // 实际里程
    expectAmount: null, // 预估订单金额
    realAmount: null, // 实际订单金额
    favourFee: null, // 顾客好处费
    driverId: null, // 司机ID
    acceptTime: null, // 司机接单时间
    arriveTime: null, // 司机到达时间
    startServiceTime: null, // 开始服务时间
    endServiceTime: null, // 结束服务时间
    payTime: null, // 微信付款时间
    cancelRuleId: null, // 订单取消规则ID
    carLicense: "", // 车牌号
    carType: "", // 车型
    carFrontUrl: "", // 司机到达拍照：车前照
    carBackUrl: "", // 司机到达拍照：车后照
    transactionId: "", // 微信支付订单号
    jobId: null, // 司机编号
    status: null, // 订单状态
    remark: "", // 订单备注信息
    createTime: null, // 创建时间
    updateTime: null, // 修改时间
    isDeleted: null, // 是否删除
  };
  
export  const labels = {
    id: "主键",
    customerId: "客户ID",
    orderNo: "订单号",
    startLocation: "起始地点",
    startPointLongitude: "起始地点经度",
    startPointLatitude: "起始点纬度",
    endLocation: "结束地点",
    endPointLongitude: "结束地点经度",
    endPointLatitude: "结束地点纬度",
    expectDistance: "预估里程",
    realDistance: "实际里程",
    expectAmount: "预估订单金额",
    realAmount: "实际订单金额",
    favourFee: "顾客好处费",
    driverId: "司机ID",
    acceptTime: "司机接单时间",
    arriveTime: "司机到达时间",
    startServiceTime: "开始服务时间",
    endServiceTime: "结束服务时间",
    payTime: "微信付款时间",
    cancelRuleId: "订单取消规则ID",
    carLicense: "车牌号",
    carType: "车型",
    carFrontUrl: "司机到达拍照：车前照",
    carBackUrl: "司机到达拍照：车后照",
    transactionId: "微信支付订单号",
    jobId: "司机编号",
    status: "订单状态",
    remark: "订单备注信息",
    createTime: "创建时间",
    updateTime: "修改时间",
    isDeleted: "是否删除",
  };
  
 export const options = {
    status: [
      { value: 1, label: "等待接单" },
      { value: 2, label: "已接单" },
      { value: 3, label: "司机已到达" },
      { value: 4, label: "开始代驾" },
      { value: 5, label: "结束代驾" },
      { value: 6, label: "未付款" },
      { value: 7, label: "已付款" },
      { value: 8, label: "订单已结束" },
      { value: 9, label: "顾客撤单" },
      { value: 10, label: "司机撤单" },
      { value: 11, label: "事故关闭" },
      { value: 12, label: "其他" },
    ],
    isDeleted: [
      { value: true, label: "是" },
      { value: false, label: "否" },
    ],
  };
  
  export  const  orderInfoData =  { FormData, FormDataType, labels, options };

export  default orderInfoData  ;